package com.graduation.smartparkingplatform.Dao;

import com.graduation.smartparkingplatform.Pojo.VisitorList;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface VisitorMapper {
  public List<VisitorList> getVisitorList();

  public List<VisitorList> searchVisitor(
      @Param("userName") String userName, @Param("ip") String ip);

  public Boolean deleteVisitor(@Param("visitorId") Integer visitorId);

  public List<VisitorList> getVisitorListAll();
}
